package com.yiwei.zxp.api.model;

import com.yiwei.zxp.api.bean.ResponModel;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by xsooy-pc on 18-6-1.
 */

public class BuyerOrderDetailModel extends ResponModel {

    /**
     * datas : {"shop_info":{"shop_id":110,"shop_name":""},"order_info":{"order_no":"2018052810423552649104","num":5,"money":4990,"shared_gold":0,"true_money":4990,"deliver_fee":25,"valid_time":"1527475355","pay_way":"1","pay_time":0,"complete_time":"0","status":"0","send_time":"0","created_at":1527475355},"address_info":{"address_id":5,"name":"李小明","phone":"13788888888","province":"广东","city":"佛山市","district":"禅城区","address":"xx大厦301"},"items":[{"title":"老乌龟两只","goods_id":2,"goods_no":"201805241015b06791423a7e","photos":["http://img3.dianhuohuo.shop/2018/05/23/201805231024507830.jpg"],"price":"998.00","num":"3","deliver_fee":"25.00"}]}
     */

    public DatasBean datas;

    public static class DatasBean {
        /**
         * shop_info : {"shop_id":110,"shop_name":""}
         * order_info : {"order_no":"2018052810423552649104","num":5,"money":4990,"shared_gold":0,"true_money":4990,"deliver_fee":25,"valid_time":"1527475355","pay_way":"1","pay_time":0,"complete_time":"0","status":"0","send_time":"0","created_at":1527475355}
         * address_info : {"address_id":5,"name":"李小明","phone":"13788888888","province":"广东","city":"佛山市","district":"禅城区","address":"xx大厦301"}
         * items : [{"title":"老乌龟两只","goods_id":2,"goods_no":"201805241015b06791423a7e","photos":["http://img3.dianhuohuo.shop/2018/05/23/201805231024507830.jpg"],"price":"998.00","num":"3","deliver_fee":"25.00"}]
         */

        public ShopInfoBean shop_info;
        public OrderInfoBean order_info;
        public AddressInfoBean address_info;
        public List<ItemGoodsDetail> items;

        public static class ShopInfoBean {
            /**
             * shop_id : 110
             * shop_name :
             */

            public int shop_id;
            public String shop_name;
            public String shop_phone;
        }

        public static class OrderInfoBean {
            /**
             * order_no : 2018052810423552649104
             * num : 5
             * money : 4990
             * shared_gold : 0
             * true_money : 4990
             * deliver_fee : 25
             * valid_time : 1527475355
             * pay_way : 1
             * pay_time : 0
             * complete_time : 0
             * status : 0
             * send_time : 0
             * created_at : 1527475355
             */

            public String order_no;
            public String num;
            public String money;
            public String shared_gold;
            public String true_money;
            public String deliver_fee;
            public String valid_time;
            public String pay_way;
            public String pay_time;
            public String complete_time;
            public String status;
            public String send_time;
            public String created_at;
        }

        public static class AddressInfoBean {
            /**
             * address_id : 5
             * name : 李小明
             * phone : 13788888888
             * province : 广东
             * city : 佛山市
             * district : 禅城区
             * address : xx大厦301
             */

            public int address_id;
            public String name;
            public String phone;
            public String province;
            public String city;
            public String district;
            public String address;
        }

//        public static class ItemsBean {
//            /**
//             * title : 老乌龟两只
//             * goods_id : 2
//             * goods_no : 201805241015b06791423a7e
//             * photos : ["http://img3.dianhuohuo.shop/2018/05/23/201805231024507830.jpg"]
//             * price : 998.00
//             * num : 3
//             * deliver_fee : 25.00
//             */
//
//            public String title;
//            public int goods_id;
//            public String goods_no;
//            public String price;
//            public String num;
//            public String deliver_fee;
//            public List<String> photos;
//        }
    }
}
